package com.example.designmodule.bridge;

/**
 * @Author: Dijah
 * @Date: 2022/2/9 19:13
 * @Desc: 定义一个抽象类，此类的实现类都需要使用DrawApi
 */
public abstract class Shape {

    protected DrawApi drawApi;

    protected Shape(DrawApi drawApi){
        this.drawApi = drawApi;
    }

    public abstract void draw();
}
